//package com.hikvision.cms.sender;
//
//import com.hikvision.cms.BaseMQService;
//
//import javax.jms.Destination;
//import javax.jms.Message;
//import javax.jms.TextMessage;
//import javax.jms.Topic;
//
//
//public class TopicSender
//        extends BaseMQService {
//    protected void publishTextMessage(Topic topic, TextMessage textMessage) {
//        /* 22 */
//        assertNotNull((Destination) topic);
//        /* 23 */
//        if (textMessage == null) {
//            /* 24 */
//            throw new NullPointerException("TextMessage should not be null!");
//        }
//
//        /* 27 */
//        sendUnSerializeMessage((Destination) topic, (Message) textMessage);
//    }
//}
//
